# Description: GStreamer multimedya çerçevesi ffmpeg eklentileri
# URL: http://gstreamer.freedesktop.org/modules/gst-plugins-base.html
# Packager: alihan-ozturk28@hotmail.com
# Depends on: gstreamer gstreamer-plugins-base yasm sdl

name=gstreamer-plugins-ffmpeg
version=0.10.13
release=1
_name=gst-ffmpeg
source=(http://gstreamer.freedesktop.org/src/${_name}/${_name}-$version.tar.bz2
	    http://downloads.nutyx.org/files/patchs/$name/h264_qpel_mmx.patch)

build() {
unset CFLAGS
unset CXXFLAGS

cd ${_name}-$version
patch -Np1 -i ../h264_qpel_mmx.patch
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--with-ffmpeg-extra-configure="--enable-runtime-cpudetect" \
--with-package-name='PisiLinux gstreamer-ffmpeg package' \
--with-package-origin='https://milis.gungre.ch/'

make || make -j1
make DESTDIR=$PKG install
}
